Skip to content

fix(history): paginate legacy equity orders - #108

Merged
zaydiscold merged 1 commit into
mainfrom
fix/history-pagination
Sep 8, 2026
Merged

zaydiscold merged 1 commit into
mainfrom
fix/history-pagination

Conversation

@zaydiscold

@zaydiscold zaydiscold commented Sep 8, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Paginate legacy equity orders per owned account rather than returning only the first page.
  • Preserve order identifiers and normalized sell fill metadata in unified history.
  • Throw rather than silently return a truncated result at the shared pagination guard.

Verification

  • CLI and MCP live artifacts each: 41 events, 14 filled equity sales.
  • All 14 SHA-256-truncated order IDs match across CLI, MCP, and the sanitized canonical audit; CLI and MCP have all 14 quantity/price pairs identical.
  • The canonical audit has 12 exact quantity/weighted-fill-price matches and 2 price-field mismatches; no IDs or quantities are missing. This PR intentionally does not alter pricing semantics.
  • Targeted Vitest, lint, format check, and diff check pass.

No auth or trade submission changes. No private artifacts included.

@zaydiscold
zaydiscold merged commit eaac51a into main Sep 8, 2026
8 checks passed
@zaydiscold
zaydiscold deleted the fix/history-pagination branch September 8, 2026 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant